package br.edu.unifei.tfg.algorithms.fm;

import br.edu.unifei.mestrado.commons.graph.NodeWrapper;

/**
 * Simple POJO class to represent a cell move. *
 */
public class Move {
	
	/** The cell that was moved. */
	private NodeWrapper node;
	
	/** Gain obtained by moving the cell. */
	private int gain;
	
	public Move(NodeWrapper node, int gain) {
		super();
		this.node = node;
		this.gain = gain;
	}

	/**
	 * @return the node
	 */
	public NodeWrapper getNode() {
		return node;
	}

	/**
	 * @param node the node to set
	 */
	public void setNode(NodeWrapper node) {
		this.node = node;
	}

	/**
	 * @return the gain
	 */
	public int getGain() {
		return gain;
	}

	/**
	 * @param gain the gain to set
	 */
	public void setGain(int gain) {
		this.gain = gain;
	}
	
	

}